find Element By Class Name
Returns the first Element object found in the current search context by the given className
. Returns an empty Optional
if no element was found.
Parameters
class Name
a string that represents the class attribute of the HTML element
Throws
if the given className
is empty
when this instance is closed